package com.wt.pojo;

import java.math.BigDecimal;

public class Distributor {
    /** 分销商ID */
    private Integer id;

    /** 用户名（登录账号） */
    private String nickname;

    /** 分销商名称（真实姓名） */
    private String username;

    /** 联系电话 */
    private String phone;

    /** 身份证 */
    private String identity;

    /** 银行名称 */
    private String bank;

    /** 银行账号 */
    private String bankAccount;

    /** 开户行地址 */
    private String bankAddress;

    /** 地址 */
    private String address;

    /** 分成比例 */
    private BigDecimal proportion;

    /** 复核状态  1:等待复核 2复核通过 3驳回 0:无需复核 */
    private Byte reviewStatus;

    /** 复核分成比例 */
    private BigDecimal reviewPoint;

    /** 认证状态：1申请 2通过 3冻结 */
    private Byte status;

    /** 是否为超级管理员 0为普通分销商  1超级管理员 */
    private Byte type;

    /** 申请时间 */
    private Integer createTime;

    /** 更新时间 */
    private Integer upadteTime;

    /** 有效期 */
    private Integer validityTime;

    /** 已经提现的金额 */
    private BigDecimal commissionWithdraw;

    /** 密码(MD5加密) */
    private String password;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table brand_admin_distributor
     *
     * @mbggenerated
     */
    public Distributor(Integer id, String nickname, String username, String phone, String identity, String bank, String bankAccount, String bankAddress, String address, BigDecimal proportion, Byte reviewStatus, BigDecimal reviewPoint, Byte status, Byte type, Integer createTime, Integer upadteTime, Integer validityTime, BigDecimal commissionWithdraw, String password) {
        this.id = id;
        this.nickname = nickname;
        this.username = username;
        this.phone = phone;
        this.identity = identity;
        this.bank = bank;
        this.bankAccount = bankAccount;
        this.bankAddress = bankAddress;
        this.address = address;
        this.proportion = proportion;
        this.reviewStatus = reviewStatus;
        this.reviewPoint = reviewPoint;
        this.status = status;
        this.type = type;
        this.createTime = createTime;
        this.upadteTime = upadteTime;
        this.validityTime = validityTime;
        this.commissionWithdraw = commissionWithdraw;
        this.password = password;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table brand_admin_distributor
     *
     * @mbggenerated
     */
    public Distributor() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.id
     *
     * @return the value of brand_admin_distributor.id
     *
     * @mbggenerated
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.id
     *
     * @param id the value for brand_admin_distributor.id
     *
     * @mbggenerated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.nickname
     *
     * @return the value of brand_admin_distributor.nickname
     *
     * @mbggenerated
     */
    public String getNickname() {
        return nickname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.nickname
     *
     * @param nickname the value for brand_admin_distributor.nickname
     *
     * @mbggenerated
     */
    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.username
     *
     * @return the value of brand_admin_distributor.username
     *
     * @mbggenerated
     */
    public String getUsername() {
        return username;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.username
     *
     * @param username the value for brand_admin_distributor.username
     *
     * @mbggenerated
     */
    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.phone
     *
     * @return the value of brand_admin_distributor.phone
     *
     * @mbggenerated
     */
    public String getPhone() {
        return phone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.phone
     *
     * @param phone the value for brand_admin_distributor.phone
     *
     * @mbggenerated
     */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.identity
     *
     * @return the value of brand_admin_distributor.identity
     *
     * @mbggenerated
     */
    public String getIdentity() {
        return identity;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.identity
     *
     * @param identity the value for brand_admin_distributor.identity
     *
     * @mbggenerated
     */
    public void setIdentity(String identity) {
        this.identity = identity == null ? null : identity.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.bank
     *
     * @return the value of brand_admin_distributor.bank
     *
     * @mbggenerated
     */
    public String getBank() {
        return bank;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.bank
     *
     * @param bank the value for brand_admin_distributor.bank
     *
     * @mbggenerated
     */
    public void setBank(String bank) {
        this.bank = bank == null ? null : bank.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.bank_account
     *
     * @return the value of brand_admin_distributor.bank_account
     *
     * @mbggenerated
     */
    public String getBankAccount() {
        return bankAccount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.bank_account
     *
     * @param bankAccount the value for brand_admin_distributor.bank_account
     *
     * @mbggenerated
     */
    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount == null ? null : bankAccount.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.bank_address
     *
     * @return the value of brand_admin_distributor.bank_address
     *
     * @mbggenerated
     */
    public String getBankAddress() {
        return bankAddress;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.bank_address
     *
     * @param bankAddress the value for brand_admin_distributor.bank_address
     *
     * @mbggenerated
     */
    public void setBankAddress(String bankAddress) {
        this.bankAddress = bankAddress == null ? null : bankAddress.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.address
     *
     * @return the value of brand_admin_distributor.address
     *
     * @mbggenerated
     */
    public String getAddress() {
        return address;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.address
     *
     * @param address the value for brand_admin_distributor.address
     *
     * @mbggenerated
     */
    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.proportion
     *
     * @return the value of brand_admin_distributor.proportion
     *
     * @mbggenerated
     */
    public BigDecimal getProportion() {
        return proportion;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.proportion
     *
     * @param proportion the value for brand_admin_distributor.proportion
     *
     * @mbggenerated
     */
    public void setProportion(BigDecimal proportion) {
        this.proportion = proportion;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.review_status
     *
     * @return the value of brand_admin_distributor.review_status
     *
     * @mbggenerated
     */
    public Byte getReviewStatus() {
        return reviewStatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.review_status
     *
     * @param reviewStatus the value for brand_admin_distributor.review_status
     *
     * @mbggenerated
     */
    public void setReviewStatus(Byte reviewStatus) {
        this.reviewStatus = reviewStatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.review_point
     *
     * @return the value of brand_admin_distributor.review_point
     *
     * @mbggenerated
     */
    public BigDecimal getReviewPoint() {
        return reviewPoint;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.review_point
     *
     * @param reviewPoint the value for brand_admin_distributor.review_point
     *
     * @mbggenerated
     */
    public void setReviewPoint(BigDecimal reviewPoint) {
        this.reviewPoint = reviewPoint;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.status
     *
     * @return the value of brand_admin_distributor.status
     *
     * @mbggenerated
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.status
     *
     * @param status the value for brand_admin_distributor.status
     *
     * @mbggenerated
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.type
     *
     * @return the value of brand_admin_distributor.type
     *
     * @mbggenerated
     */
    public Byte getType() {
        return type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.type
     *
     * @param type the value for brand_admin_distributor.type
     *
     * @mbggenerated
     */
    public void setType(Byte type) {
        this.type = type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.create_time
     *
     * @return the value of brand_admin_distributor.create_time
     *
     * @mbggenerated
     */
    public Integer getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.create_time
     *
     * @param createTime the value for brand_admin_distributor.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.upadte_time
     *
     * @return the value of brand_admin_distributor.upadte_time
     *
     * @mbggenerated
     */
    public Integer getUpadteTime() {
        return upadteTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.upadte_time
     *
     * @param upadteTime the value for brand_admin_distributor.upadte_time
     *
     * @mbggenerated
     */
    public void setUpadteTime(Integer upadteTime) {
        this.upadteTime = upadteTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.validity_time
     *
     * @return the value of brand_admin_distributor.validity_time
     *
     * @mbggenerated
     */
    public Integer getValidityTime() {
        return validityTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.validity_time
     *
     * @param validityTime the value for brand_admin_distributor.validity_time
     *
     * @mbggenerated
     */
    public void setValidityTime(Integer validityTime) {
        this.validityTime = validityTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.commission_withdraw
     *
     * @return the value of brand_admin_distributor.commission_withdraw
     *
     * @mbggenerated
     */
    public BigDecimal getCommissionWithdraw() {
        return commissionWithdraw;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.commission_withdraw
     *
     * @param commissionWithdraw the value for brand_admin_distributor.commission_withdraw
     *
     * @mbggenerated
     */
    public void setCommissionWithdraw(BigDecimal commissionWithdraw) {
        this.commissionWithdraw = commissionWithdraw;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column brand_admin_distributor.password
     *
     * @return the value of brand_admin_distributor.password
     *
     * @mbggenerated
     */
    public String getPassword() {
        return password;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column brand_admin_distributor.password
     *
     * @param password the value for brand_admin_distributor.password
     *
     * @mbggenerated
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }
}